package com.yuexunit.finance.bulkstock.action.v1.dto;

import com.yuexunit.finance.bulkstock.action.v1.model.BulkstockWarningLineInfo;
import com.yuexunit.finance.bulkstock.entity.BulkstockWarningEntity;
import com.yuexunit.finance.common.util.BeanUtils;


/**
 * @author wenwenlong
 */
public class BulkstockWarningCastor {
	public static BulkstockWarningLineInfo toBulkstockWarningInfo(BulkstockWarningEntity entity){
		BulkstockWarningLineInfo info = new BulkstockWarningLineInfo();
		BeanUtils.copyProperties(entity, info);
		return info;
	}
}
